﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LingDong.DataProvider
{
    public class DataEntity
    {
        /// <summary>
        /// URL of the document
        /// </summary>
        public string Url { get; set; }

        /// <summary>
        /// DocID of the document in input corpus, can be null
        /// </summary>
        public string DocID { get; set; }

        /// <summary>
        /// Content of the document
        /// </summary>
        public string Content { get; set; }
        
        /// <summary>
        /// To formated string
        /// </summary>
        /// <returns></returns>
        public override string ToString()
        {
            return String.Format("Url: {0}\n, DocID: {1}\n, Content: {2}", Url, DocID, Content);
        }
    }
}
